package session09.compent;

import javax.swing.*;
import java.awt.*;

public class ATMBackPanel extends JPanel {
    private JLabel backLab;

    public JLabel getBackLab() {
        return backLab;
    }

    public void setBackLab(JLabel backLab) {
        this.backLab = backLab;
    }

    public ATMBackPanel() {
        this.setLayout(new BorderLayout());
        this.backLab = new JLabel();
        this.backLab.setLayout(null);
        this.backLab.setIcon(new ImageIcon("image/background.jpg"));
        this.backLab.setBounds(0,0,1024,768);
        this.add(this.backLab);
    }
}
